projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20de6f4
)
Call wr_init before the waypoint backup is done.
author
robertl
<robertl>
Wed, 30 Nov 2005 23:30:03 +0000
(23:30 +0000)
committer
robertl
<robertl>
Wed, 30 Nov 2005 23:30:03 +0000
(23:30 +0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index a1b735987694723ca6c15eac36da5bbfbe03a444..012acf37bf4f828e199471d9d691d270039c2004 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-210,6
+210,8
@@
main(int argc, char *argv[])
rte_ct_bak = -1;
trk_ct_bak = -1;
+ ovecs->wr_init(ofname);
+
if (global_opts.charset != &cet_cs_vec_utf8)
{
waypt_backup(&wpt_ct_bak, &wpt_head_bak);
@@
-219,7
+221,6
@@
main(int argc, char *argv[])
cet_convert_strings(NULL, global_opts.charset, NULL);
}
- ovecs->wr_init(ofname);
ovecs->write();
ovecs->wr_deinit();